package com.isoftstone.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 宿舍信息实体类
 */
@Data
public class Dormitory {
    //宿舍id
    private Integer dormitoryId;
    //楼栋号
    private String buildingNumber;
    //宿舍号
    private String roomNumber;
    //可住人数
    private Integer capacity;
    //当前入住人数
    private Integer currentOccupancy;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
}
